Initializes a new instance of the Pen class.
Namespace: MindFusion.Drawing
File: Pen.js
JavaScript Copy Code |
---|
function Pen (brush, [width]) |
The following code customizes the ToolTip-s rendered over chart elements:
JavaScript Copy Code |
---|
// customize tooltips ToolTip.position = new Point (-5, -3); ToolTip.text = "Click on a bar to see detailed chart"; ToolTip.brush = new Drawing.Brush("#fafafa"); ToolTip.pen = new Drawing.Pen("#9caac6"); |